blob: 7c1403a424e13f88b5d47f40f22d12fd7089d0f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
Compilation unit elements:
(
function-decl
"shed__runtime__gc_get_root_stack_index"
params=()
return-types=(int)
)
(
function-decl
"shed__runtime__gc_alloc"
params=((param "size" int) (param "runtime_type_tag" int32))
return-types=(data-ptr)
)
(
function
"shed__function__User__0"
visibility=private
locals=((param "closurePointer__0" data-ptr) (param "local__name" int) (param "local__isActive" int) (val "gcRootStackIndex__0" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int))
return-types=(int)
body=(
(call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
(call ((local "structValuePointer__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
(
memory-store
pointer=(local "structValuePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (int int))))
element-offsets=(1 0)
value=(int-const 0)
)
(
memory-store
pointer=(local "structValuePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (int int))))
element-offsets=(1 1)
value=(int-const 0)
)
(
memory-store
pointer=(local "structValuePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (int int))))
element-offsets=(0 2)
value=(int-const 3)
)
(
memory-store
pointer=(local "structValuePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (int int))))
element-offsets=(1 0)
value=(local "local__name")
)
(
memory-store
pointer=(local "structValuePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (int int))))
element-offsets=(1 1)
value=(local "local__isActive")
)
(data-ptr-to-int (local "structValue__0") (local "structValuePointer__0"))
(return ((local "structValue__0")))
)
)
Locals:
* (val "structType__User__0" int)
* (val "closurePointer__User__0" data-ptr)
Instructions:
(
(call ((local "closurePointer__User__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
(
memory-store
pointer=(local "closurePointer__User__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ())))))
element-offsets=(1 0)
value=(function-ptr-const "shed__function__User__0")
)
(data-ptr-to-int (local "structType__User__0") (local "closurePointer__User__0"))
)
Temporary stack:
* PatioLocalRef[name=structType__User__0]
|